package com.bjpowernode.common.pay;

import cn.hutool.core.util.StrUtil;

public class PayUtil {

    public static String appendParam(String returns, String paramId,String paramValue){
        if (returns != ""){
            if (StrUtil.isNotBlank(paramValue)){
                returns+="&"+paramId+"="+paramValue;
            }
        }else {
            if (StrUtil.isNotBlank(paramValue)){
                returns=paramId+"="+paramValue;
            }
        }
        return returns;
    }
}
